<?php
use app\assets\AppAsset;
use yii\helpers\Html;
/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);

?>

<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>" class="app">
<head>
    <meta charset="<?= Yii::$app->charset ?>">

    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

    <?= Html::csrfMetaTags() ?>
    <title>管理中心</title>
    <?php $this->head() ?>
    <!--[if lt IE 9]>
    <script src="js/ie/html5shiv.js"></script>
    <script src="js/ie/respond.min.js"></script>
    <script src="js/ie/excanvas.js"></script>
    <![endif]-->
</head>
<body class="<?php echo $this->params['tpl_class'];?>">
<?php $this->beginBody() ?>
<?php echo $content; ?>
<?php $this->endBody() ?>
<script>
    $(document).on('click', '[data-toggle^="refresh"]', function(e) {
        e && e.preventDefault();
        window.location.reload()
    });
</script>
</body>
</html>
<?php $this->endPage() ?>
